package cn.pxy.ysframework.web.Service;

import cn.pxy.ysframework.web.Entity.Category;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ICategoryService {
    List<Category> findAllCategory();

    Page<Category> findAllCategoryWithPager(int page,int num);

    Category findById(String id);
}
